import React, { useState, useRef } from 'react';
import ProTable from '@/components/ResizableProTable';
import {timeFormat} from '@/utils/common';
import './index.css';

export default (props) => {
  const getUserList = () => {
    let data = {
        "code" : 200,
        "message" : "OK",
        "data" : [ {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "shipperCustomer" : "",
          "appointNo" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 1,
          "ead" : "2023-04-30T00:00:00.000+0800",
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1638785602912567298",
          "blNo" : "226184224",
          "shipper" : "RIDER GLASS COMPANY LIMITED\nQINGDAO,CHINA\nTEL:(86 532)83873000\nFAX:(86 532)83881333",
          "consignee" : "IMPORVIDRIOS\nRNC 130 25043 1\nC JUAN EVANGELISTA JIMENEZ # 110 VILLA\nCONSUELO SANTO DOMINGO,DOMINICAN\nREPUBLIC",
          "notify" : "IMPORVIDRIOS\nRNC 130 25043 1\nC JUAN EVANGELISTA JIMENEZ # 110 VILLA\nCONSUELO SANTO DOMINGO,DOMINICAN\nREPUBLIC",
          "pol" : "QINGDAO,CHINA",
          "pod" : "CAUCEDO,DOMINICAN REP.",
          "shipCompany" : "MSK",
          "voyage" : "315E",
          "vessel" : "CMA CGM MUSCA",
          "entrustCustomer" : "骑士",
          "etd" : "2023-04-26T00:00:00.000+0800",
          "boxInfo" : "20GP*1",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "骑士约号 目的港申请21天",
          "cargoPkgsUnits" : "10CRATES",
          "cargoPkgs" : "10",
          "cargoDescription" : "GLASS",
          "cargoWeight" : "26500",
          "cargoSize" : "15",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-26T00:00:00.000+0800",
          "financeDate" : "2023-04-26T00:00:00.000+0800",
          "orderCode" : "DSI230304844",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "",
          "seller" : "刘斌",
          "lineSupporter" : "公司客服",
          "operator" : "崔爽",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-04-24T08:00:01.000+0800",
          "dot" : "2023-04-21T15:00:01.000+0800",
          "bookOrderId" : "1638753228531220482",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-23T14:11:50.000+0800",
          "lineName" : "中南美加勒比航线",
          "teu" : 1,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "CAUCEDO,DOMINICAN REP.",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 2,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "占仓位",
          "id" : "1638785985772830722",
          "blNo" : "226184300",
          "shipper" : "RIDER GLASS COMPANY LIMITED\nQINGDAO,CHINA\nTEL:(86 532)83873000\nFAX:(86 532)83881333",
          "consignee" : "IMPORVIDRIOS\nRNC 130 25043 1\nC JUAN EVANGELISTA JIMENEZ # 110 VILLA\nCONSUELO SANTO DOMINGO,DOMINICAN\nREPUBLIC",
          "notify" : "IMPORVIDRIOS\nRNC 130 25043 1\nC JUAN EVANGELISTA JIMENEZ # 110 VILLA\nCONSUELO SANTO DOMINGO,DOMINICAN\nREPUBLIC",
          "pol" : "QINGDAO,CHINA",
          "pod" : "CAUCEDO,DOMINICAN REP.",
          "shipCompany" : "MSK",
          "voyage" : "315E",
          "vessel" : "CMA CGM MUSCA",
          "entrustCustomer" : "骑士",
          "etd" : "2023-04-26T00:00:00.000+0800",
          "boxInfo" : "20GP*2",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "骑士约号 目的港申请21天",
          "cargoPkgsUnits" : "10CRATES",
          "cargoPkgs" : "20",
          "cargoDescription" : "GLASS",
          "cargoWeight" : "53000",
          "cargoSize" : "30",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-26T00:00:00.000+0800",
          "financeDate" : "2023-04-26T00:00:00.000+0800",
          "orderCode" : "DSI230304845",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "",
          "seller" : "刘斌",
          "lineSupporter" : "公司客服",
          "operator" : "崔爽",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-04-24T08:00:01.000+0800",
          "dot" : "2023-04-21T15:00:01.000+0800",
          "bookOrderId" : "1638753506718433281",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-23T14:13:21.000+0800",
          "lineName" : "中南美加勒比航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "CAUCEDO,DOMINICAN REP.",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "shipperCustomer" : "",
          "appointNo" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 3,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "占仓位",
          "id" : "1639943997094936578",
          "blNo" : "226237234",
          "shipper" : "RIDER GLASS COMPANY LIMITED\n25F, HUARUN MANSION A, NO.6\nSHANDONG ROAD, QINGDAO CHINA 266071",
          "consignee" : "CORPORACION CRISTALUM SAC\nJR.RIO PAUCARTAMBO MZ. CH-1 LOTE 20\nURB VILLA DEL NORTE, LOS OLIVOS\nLIMA-PERU\nRUC:20523630556 TELEFONO:51 1 528-9275",
          "notify" : "SAME AS CONSIGNEE",
          "pol" : "QINGDAO,CHINA",
          "pod" : "CALLAO,PERU",
          "shipCompany" : "MSK",
          "voyage" : "315S",
          "vessel" : "A.P. MOLLER",
          "entrustCustomer" : "骑士",
          "etd" : "2023-04-26T00:00:00.000+0800",
          "boxInfo" : "20GP*2",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "14",
          "note" : "骑士约号",
          "cargoPkgsUnits" : "20CRATES",
          "cargoPkgs" : "20",
          "cargoDescription" : "BRONZE FLOAT GLASS",
          "cargoWeight" : "54000",
          "cargoSize" : "30",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-26T00:00:00.000+0800",
          "financeDate" : "2023-04-26T00:00:00.000+0800",
          "orderCode" : "DSI230305342",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "",
          "seller" : "刘斌",
          "lineSupporter" : "公司客服",
          "operator" : "崔爽",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-04-22T07:30:00.000+0800",
          "dot" : "2023-04-20T15:00:00.000+0800",
          "bookOrderId" : "1639202820116758530",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-26T18:54:52.000+0800",
          "lineName" : "中南美加勒比航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "CALLAO,PERU",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : false,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 4,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "占仓位",
          "id" : "1639944242730156033",
          "blNo" : "226237297",
          "shipper" : "RIDER GLASS COMPANY LIMITED\n25F, HUARUN MANSION A, NO.6\nSHANDONG ROAD, QINGDAO CHINA 266071",
          "consignee" : "CORPORACION CRISTALUM SAC\nJR.RIO PAUCARTAMBO MZ. CH-1 LOTE 20\nURB VILLA DEL NORTE, LOS OLIVOS\nLIMA-PERU\nRUC:20523630556 TELEFONO:51 1 528-9275",
          "notify" : "SAME AS CONSIGNEE",
          "pol" : "QINGDAO,CHINA",
          "pod" : "CALLAO,PERU",
          "shipCompany" : "MSK",
          "voyage" : "315S",
          "vessel" : "A.P. MOLLER",
          "entrustCustomer" : "骑士",
          "etd" : "2023-04-26T00:00:00.000+0800",
          "boxInfo" : "20GP*2",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "14",
          "note" : "骑士约号",
          "cargoPkgs" : "20",
          "cargoDescription" : "BRONZE FLOAT GLASS",
          "cargoWeight" : "54000",
          "cargoSize" : "30",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-26T00:00:00.000+0800",
          "financeDate" : "2023-04-26T00:00:00.000+0800",
          "orderCode" : "DSI230305343",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "",
          "seller" : "刘斌",
          "lineSupporter" : "王刚",
          "operator" : "崔爽",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-04-22T07:30:00.000+0800",
          "dot" : "2023-04-20T15:00:00.000+0800",
          "bookOrderId" : "1639203024828153857",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-26T18:55:51.000+0800",
          "lineName" : "中南美加勒比航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "CALLAO,PERU",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : false,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 5,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "占仓位",
          "id" : "1639944490147954690",
          "blNo" : "226237369",
          "shipper" : "RIDER GLASS COMPANY LIMITED\n25F, HUARUN MANSION A, NO.6\nSHANDONG ROAD, QINGDAO CHINA 266071",
          "consignee" : "CORPORACION CRISTALUM SAC\nJR.RIO PAUCARTAMBO MZ. CH-1 LOTE 20\nURB VILLA DEL NORTE, LOS OLIVOS\nLIMA-PERU\nRUC:20523630556 TELEFONO:51 1 528-9275",
          "notify" : "SAME AS CONSIGNEE",
          "pol" : "QINGDAO,CHINA",
          "pod" : "CALLAO,PERU",
          "shipCompany" : "MSK",
          "voyage" : "315S",
          "vessel" : "A.P. MOLLER",
          "entrustCustomer" : "骑士",
          "etd" : "2023-04-26T00:00:00.000+0800",
          "boxInfo" : "20GP*2",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "14",
          "note" : "骑士约号",
          "cargoPkgs" : "20",
          "cargoDescription" : "BRONZE FLOAT GLASS",
          "cargoWeight" : "54000",
          "cargoSize" : "30",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-26T00:00:00.000+0800",
          "financeDate" : "2023-04-26T00:00:00.000+0800",
          "orderCode" : "DSI230305344",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "",
          "seller" : "刘斌",
          "lineSupporter" : "王刚",
          "operator" : "崔爽",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-04-22T07:30:00.000+0800",
          "dot" : "2023-04-20T15:00:00.000+0800",
          "bookOrderId" : "1639203117375471617",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-26T18:56:50.000+0800",
          "lineName" : "中南美加勒比航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "CALLAO,PERU",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "华盛约:QQGD060112-LTA",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 6,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1635613918340628481",
          "blNo" : "QGD0168513",
          "shipper" : "SHANDONG HUASHENG RUBBER CO.,LTD.",
          "consignee" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "notify" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "pol" : "QINGDAO,CHINA",
          "pod" : "ONNE,NIGERIA",
          "shipCompany" : "CMA",
          "voyage" : "08YEZW1MA",
          "vessel" : "MAERSK ARAS",
          "entrustCustomer" : "青岛圣智安达",
          "entrustCustomerContact" : "周倩",
          "entrustCustomerPhone" : "18561631018",
          "etd" : "2023-04-27T00:00:00.000+0800",
          "boxInfo" : "45HC*3",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "华盛约",
          "cargoPkgsUnits" : "1000PACKAGE",
          "cargoPkgs" : "3000",
          "cargoDescription" : "AUTO PARTS\nFORM: MF20200090137\nBA NUMBER: BA21420200009152",
          "cargoWeight" : "75000",
          "cargoSize" : "228",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-27T00:00:00.000+0800",
          "financeDate" : "2023-04-27T00:00:00.000+0800",
          "orderCode" : "DSI230302916",
          "boxDepot" : "港联欣场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "外运集装箱",
          "seller" : "刘冠邑",
          "lineSupporter" : "杜洪毅",
          "operator" : "周倩",
          "bookSupporter" : "姜晓旭",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "bookNote" : "华盛 截单shipper:\nSHANDONG HUASHENG RUBBER CO.,LTD.",
          "cot" : "2023-04-25T17:00:00.000+0800",
          "dot" : "2023-04-25T17:00:00.000+0800",
          "bookOrderId" : "1633781087788384257",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-14T20:08:41.000+0800",
          "lineName" : "西非航线",
          "teu" : 6,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "ONNE,NIGERIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "华盛约:QQGD060112-LTA",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 7,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1635613942256549889",
          "blNo" : "QGD0168519",
          "shipper" : "SHANDONG HUASHENG RUBBER CO.,LTD.",
          "consignee" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "notify" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "pol" : "QINGDAO,CHINA",
          "pod" : "ONNE,NIGERIA",
          "shipCompany" : "CMA",
          "voyage" : "08YEZW1MA",
          "vessel" : "MAERSK ARAS",
          "entrustCustomer" : "青岛圣智安达",
          "entrustCustomerContact" : "周倩",
          "entrustCustomerPhone" : "18561631018",
          "etd" : "2023-04-27T00:00:00.000+0800",
          "boxInfo" : "45HC*3",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "华盛约",
          "cargoPkgsUnits" : "1000PACKAGE",
          "cargoPkgs" : "3000",
          "cargoDescription" : "AUTO PARTS\nFORM: MF20200090137\nBA NUMBER: BA21420200009152",
          "cargoWeight" : "75000",
          "cargoSize" : "228",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-27T00:00:00.000+0800",
          "financeDate" : "2023-04-27T00:00:00.000+0800",
          "orderCode" : "DSI230302917",
          "boxDepot" : "港联欣场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "外运集装箱",
          "seller" : "刘冠邑",
          "lineSupporter" : "杜洪毅",
          "operator" : "周倩",
          "bookSupporter" : "姜晓旭",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "bookNote" : "华盛 截单shipper:\nSHANDONG HUASHENG RUBBER CO.,LTD.",
          "cot" : "2023-04-25T17:00:00.000+0800",
          "dot" : "2023-04-25T17:00:00.000+0800",
          "bookOrderId" : "1633781154930802689",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-14T20:08:47.000+0800",
          "lineName" : "西非航线",
          "teu" : 6,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "ONNE,NIGERIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "华盛约:QQGD060112-LTA",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 8,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1635614250353344513",
          "blNo" : "QGD0168474",
          "shipper" : "SHANDONG HUASHENG RUBBER CO.,LTD.",
          "consignee" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "notify" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "pol" : "QINGDAO,CHINA",
          "pod" : "ONNE,NIGERIA",
          "shipCompany" : "CMA",
          "voyage" : "08YEZW1MA",
          "vessel" : "MAERSK ARAS",
          "entrustCustomer" : "青岛圣智安达",
          "entrustCustomerContact" : "周倩",
          "entrustCustomerPhone" : "18561631018",
          "etd" : "2023-04-27T00:00:00.000+0800",
          "boxInfo" : "45HC*4",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "华盛约",
          "cargoPkgsUnits" : "1000PACKAGE",
          "cargoPkgs" : "4000",
          "cargoDescription" : "AUTO PARTS\nFORM: MF20200090137\nBA NUMBER: BA21420200009152",
          "cargoWeight" : "100000",
          "cargoSize" : "304",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-27T00:00:00.000+0800",
          "financeDate" : "2023-04-27T00:00:00.000+0800",
          "orderCode" : "DSI230302918",
          "boxDepot" : "港联捷场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "外运集装箱",
          "seller" : "刘冠邑",
          "lineSupporter" : "杜洪毅",
          "operator" : "周倩",
          "bookSupporter" : "姜晓旭",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "bookNote" : "华盛 截单shipper:\nSHANDONG HUASHENG RUBBER CO.,LTD.",
          "cot" : "2023-04-25T17:00:00.000+0800",
          "dot" : "2023-04-25T17:00:00.000+0800",
          "bookOrderId" : "1633781022055251970",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-14T20:10:00.000+0800",
          "lineName" : "西非航线",
          "teu" : 8,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "ONNE,NIGERIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "华盛约:QQGD060112-LTA",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 9,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1635614315314724865",
          "blNo" : "QGD0168495",
          "shipper" : "SHANDONG HUASHENG RUBBER CO.,LTD.",
          "consignee" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "notify" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "pol" : "QINGDAO,CHINA",
          "pod" : "ONNE,NIGERIA",
          "shipCompany" : "CMA",
          "voyage" : "08YEZW1MA",
          "vessel" : "MAERSK ARAS",
          "entrustCustomer" : "青岛圣智安达",
          "entrustCustomerContact" : "周倩",
          "entrustCustomerPhone" : "18561631018",
          "etd" : "2023-04-27T00:00:00.000+0800",
          "boxInfo" : "45HC*1",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "华盛约",
          "cargoPkgsUnits" : "1000PACKAGE",
          "cargoPkgs" : "1000",
          "cargoDescription" : "AUTO PARTS\nFORM: MF20200090137\nBA NUMBER: BA21420200009152",
          "cargoWeight" : "25000",
          "cargoSize" : "76",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-27T00:00:00.000+0800",
          "financeDate" : "2023-04-27T00:00:00.000+0800",
          "orderCode" : "DSI230302919",
          "boxDepot" : "港联捷场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "外运集装箱",
          "seller" : "刘冠邑",
          "lineSupporter" : "杜洪毅",
          "operator" : "周倩",
          "bookSupporter" : "姜晓旭",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "bookNote" : "华盛 截单shipper:\nSHANDONG HUASHENG RUBBER CO.,LTD.",
          "cot" : "2023-04-25T17:00:00.000+0800",
          "dot" : "2023-04-25T17:00:00.000+0800",
          "bookOrderId" : "1633780937477111809",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-14T20:10:16.000+0800",
          "lineName" : "西非航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "ONNE,NIGERIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "appointNo" : "华盛约:QQGD060112-LTA",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 10,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "contractNo" : "",
          "id" : "1635614345270444034",
          "blNo" : "QGD0168469",
          "shipper" : "SHANDONG HUASHENG RUBBER CO.,LTD.",
          "consignee" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "notify" : "FESCO INTERNATIONAL RESOURCES\nSHOP A053 NIGER'S PLAZA BALOGUN \nTRADE FAIR COMPLEX, BADAGRY \nEXPRESS WAY LAGOS.\nEMAIL: SAMUEL2CHRIST@YAHOO.COM\nPHONEO8037557009",
          "pol" : "QINGDAO,CHINA",
          "pod" : "ONNE,NIGERIA",
          "shipCompany" : "CMA",
          "voyage" : "08YEZW1MA",
          "vessel" : "MAERSK ARAS",
          "entrustCustomer" : "青岛圣智安达",
          "entrustCustomerContact" : "周倩",
          "entrustCustomerPhone" : "18561631018",
          "etd" : "2023-04-27T00:00:00.000+0800",
          "boxInfo" : "45HC*1",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "21",
          "note" : "华盛约",
          "cargoPkgsUnits" : "1000PACKAGE",
          "cargoPkgs" : "1000",
          "cargoDescription" : "AUTO PARTS\nFORM: MF20200090137\nBA NUMBER: BA21420200009152",
          "cargoWeight" : "25000",
          "cargoSize" : "76",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-27T00:00:00.000+0800",
          "financeDate" : "2023-04-27T00:00:00.000+0800",
          "orderCode" : "DSI230302920",
          "boxDepot" : "港联捷场站",
          "entrustShipCompany" : "青岛港舱单",
          "bookAgent" : "外运集装箱",
          "seller" : "刘冠邑",
          "lineSupporter" : "杜洪毅",
          "operator" : "周倩",
          "bookSupporter" : "姜晓旭",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "bookNote" : "华盛 截单shipper:\nSHANDONG HUASHENG RUBBER CO.,LTD.",
          "cot" : "2023-04-25T17:00:00.000+0800",
          "dot" : "2023-04-25T17:00:00.000+0800",
          "bookOrderId" : "1633780844116099073",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-14T20:10:23.000+0800",
          "lineName" : "西非航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "ONNE,NIGERIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "shipperCustomer" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 11,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "id" : "1639190063577350145",
          "blNo" : "226222571",
          "shipper" : "LAIZHOU CITY LAIYU CHEMICAL CO.,LTD \nCHENGGANG ROAD ZHUYOU LAIZHOU SHANDONG CHINA\nT:86-535-2719337",
          "consignee" : "REDOX LTD \n2 SWETTENHAM ROAD\nMINTO NSW AUSTRALIA 2566  \nTEL:61 2 9733 3000   \nFAX:61 2 9733 3111",
          "notify" : "SAME AS CONSIGNEE",
          "pol" : "QINGDAO,CHINA",
          "pod" : "SYDNEY,AUSTRALIA",
          "shipCompany" : "MSK",
          "voyage" : "317S",
          "vessel" : "PRESTIGE",
          "entrustCustomer" : "莱玉化工",
          "etd" : "2023-04-29T00:00:00.000+0800",
          "boxInfo" : "20GP*2",
          "shipPaymentCode" : "FREIGHT COLLECT",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "14",
          "cargoPkgsUnits" : "2160BAGS",
          "cargoPkgs" : "2160",
          "cargoDescription" : "MAGNESIUM SULPHATE \nHEPTA 99.5%\nPO:5813252B",
          "cargoWeight" : "54216",
          "cargoSize" : "54",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-29T00:00:00.000+0800",
          "financeDate" : "2023-04-29T00:00:00.000+0800",
          "orderCode" : "DSI230305200",
          "boxDepot" : "捷丰场站",
          "entrustShipCompany" : "外代舱单",
          "bookAgent" : "",
          "seller" : "刘冠邑",
          "lineSupporter" : "公司客服",
          "operator" : "张玉凤",
          "bookSupporter" : "郝小丽",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "SEA_WAY",
          "bookNote" : "",
          "cot" : "2023-04-26T22:00:00.000+0800",
          "dot" : "2023-04-26T10:00:01.000+0800",
          "bookOrderId" : "1639137337921290241",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-24T16:59:00.000+0800",
          "lineName" : "澳新南太平洋航线",
          "teu" : 2,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "SYDNEY,AUSTRALIA",
          "shipDays" : 0
        }, {
          "beAtd" : false,
          "beOpen" : true,
          "groupCompany" : "青岛鼎世",
          "shipperCustomer" : "",
          "beDetain" : false,
          "beNeedThird" : false,
          "feeAllState" : "UNCOMMIT",
          "rowNo" : 12,
          "billState" : "UNIN",
          "cabinState" : "UNSEND",
          "vgmState" : "UNSEND",
          "id" : "1638810058347298817",
          "blNo" : "TDDW20230040114",
          "shipper" : "DOUBLESTAR INTERNATIONAL TRADING\n(HONG KONG) CO., LIMITED\nTHE LANDMARK 15 QUEEN'S ROAD\nCENTRAL, HK\n0086-532-80958014",
          "consignee" : "CARIO LTD BG20507646\nSLIVEN 8800 BANSKO SCHOSSE\n13A KALOYAN GANEV",
          "notify" : "SAME AS CONSIGNEE",
          "pol" : "QINGDAO,CHINA",
          "pod" : "SHUAIBA,KUWAIT",
          "shipCompany" : "MSC",
          "voyage" : "1",
          "vessel" : "COSCO HIMALAYAS",
          "entrustCustomer" : "青岛双星",
          "entrustCustomerContact" : "孙天资",
          "etd" : "2023-04-30T00:00:00.000+0800",
          "boxInfo" : "40HC*2",
          "shipPaymentCode" : "FREIGHT PREPAID",
          "shipClauseCode" : "CY-CY",
          "podContianerFreeDays" : "",
          "cargoPkgsUnits" : "1229PIECES",
          "cargoPkgs" : "1229",
          "cargoDescription" : "TYRES",
          "cargoWeight" : "10580",
          "cargoSize" : "62",
          "state" : "UNCONFIRMED",
          "atd" : "2023-04-30T00:00:00.000+0800",
          "financeDate" : "2023-04-30T00:00:00.000+0800",
          "orderCode" : "DSI230304897",
          "boxDepot" : "港联捷场站",
          "entrustShipCompany" : "",
          "bookAgent" : "",
          "seller" : "于洋",
          "lineSupporter" : "公司客服",
          "operator" : "陈瑶瑶",
          "bookSupporter" : "",
          "overseasSupporter" : "",
          "transportType" : "TRANSPORT_BOX",
          "signWayCode" : "ORIGINAL",
          "bookNote" : "",
          "cot" : "2023-03-28T12:00:00.000+0800",
          "dot" : "2023-03-28T10:00:01.000+0800",
          "bookOrderId" : "1638809970405326850",
          "beSplit" : false,
          "docMaker" : "",
          "bookDocMaker" : "",
          "sallerAssist" : "",
          "beBusinessLock" : false,
          "beFeeLock" : false,
          "feeInState" : "UNINPUT",
          "feeOutState" : "UNINPUT",
          "createTime" : "2023-03-23T15:49:00.000+0800",
          "lineName" : "中东航线",
          "teu" : 4,
          "hostCabinState" : "UNSEND",
          "invoiceState" : "UNINVOICED",
          "checkBillState" : "UNINVOICED",
          "beHaveChange" : false,
          "goodsNote" : "",
          "desPort" : "SHUAIBA,KUWAIT",
          "shipDays" : 0
        } ],
        "totalCount" : 12
      }
    return data;
}

  const columns = [
    {
        title: '序号',
        dataIndex: 'index',
        width: 60,
        align: 'center',
        valueType: 'index',
    },
    {
        title: '状态',
        width: 80,
        align: 'center',
        dataIndex: 'state',
        valueEnum: {
            "PUBLISHED": { text: '已开船', status: 'Success' },
            "UNCONFIRMED": { text: '未开船', status: 'Error' },
        },
    },
    {
        title: '提单号',
        width: 180,
        align: 'left',
        dataIndex: 'blNo',
        copyable: true,
    },
    {
        title: '船公司',
        width: 100,
        align: 'center',
        dataIndex: 'shipCompany',
    },
    {
        title: '装货港',
        width: 150,
        align: 'center',
        dataIndex: 'pol',
    },
    {
        title: '卸货港',
        width: 200,
        align: 'center',
        dataIndex: 'pod',
    },
    {
        title: '船名/航次',
        width: 200,
        align: 'center',
        dataIndex: 'vessel',
        ellipsis:true,
        render: (_,record) => (<>{record.vessel+" / "+record.voyage}</>)
    },
    {
        title: '箱型箱量',
        width: 100,
        align: 'center',
        dataIndex: 'boxInfo',
        hideInSearch: true,
    },
    {
        title: '中转/直达',
        width: 100,
        align: 'center',
        dataIndex: 'ttOrDt',
        hideInSearch: true,
    },
    {
        title: '开船日期',
        dataIndex: 'atd',
        width: 120,
        align: 'center',
        valueType: 'date',
        hideInSearch: true,
    },
    {
        title: '截单时间',
        width: 140,
        align: 'center',
        dataIndex: 'dot',
        hideInSearch: true,
        render: (text) => (<>{timeFormat(text,"y-m-d h:i")}</>)
    },
    {
        title: '预计到港',
        width: 120,
        align: 'center',
        dataIndex: 'ead',
        valueType: 'date',
        hideInSearch: true,
    },
    {
        title: '签单方式',
        width: 100,
        align: 'center',
        dataIndex: 'signWayCode',
        hideInSearch: true,
    },
    {
        title: '船代',
        width: 100,
        align: 'center',
        dataIndex: 'entrustShipCompany',
        hideInSearch: true,
    },
    {
        title: '场站',
        width: 100,
        align: 'center',
        dataIndex: 'boxDepot',
        hideInSearch: true,
    },
    {
        title: '件数/包装',
        width: 120,
        align: 'center',
        dataIndex: 'cargoPkgsUnits',
        hideInSearch: true,
    },
    {
        title: '货重(KG)',
        width: 100,
        align: 'center',
        dataIndex: 'cargoWeight',
        hideInSearch: true,
    },
    {
        title: '尺码(m³)',
        width: 100,
        align: 'center',
        dataIndex: 'cargoSize',
        hideInSearch: true,
    },
    {
        title: '销售',
        width: 100,
        align: 'center',
        dataIndex: 'seller',
    },
    {
        title: '操作',
        width: 100,
        align: 'center',
        dataIndex: 'operator',
    },
    {
        title: '备注',
        dataIndex: 'note',
        hideInSearch: true,
        ellipsis: true,
    },
];

  return (
    <ProTable
      className="order-list"
      rowKey="id"
      defaultSize="small"
      bordered
      scroll={{ x: 1000 }}
      columns={columns}
      request={params => getUserList(params)}
      search={false}
      options={false}
      dateFormatter="string"
      headerTitle={<span> 提单列表</span>}
      pagination={{ pageSize: 8, size: 'small' }}
    />
  );
}
